package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动信息对象 tmc_community_activity
 * 
 * @author ruoyi
 * @date 2021-03-31
 */
public class TmcCommunityActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String title;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String content;

    /** 活动图片路径 */
    @Excel(name = "活动图片路径")
    private String imageurl;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd ")
    private Date starttime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String location;

    /** 活动人数。0表示不限 */
    @Excel(name = "活动人数。0表示不限")
    private Long personcount;

    /** 活动费用，单位分 */
    @Excel(name = "活动费用，单位分")
    private Long fee;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactphone;

    /** 报名截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deadlinetime;

    /** 首页显示。0不显示，1显示 */
    @Excel(name = "首页显示。0不显示，1显示")
    private Long homeshow;

    /** 显示序号 */
    @Excel(name = "显示序号")
    private Long showorder;

    /** 活动状态。0创建1已结束2已报满 */
    @Excel(name = "活动状态。0创建1已结束2已报满")
    private Long state;
    /** 活动状态。0创建1已结束2已报满 */
    @Excel(name = "支付状态。0创建1已结束2已报满")
    private Long Ustate;

    /** 参与人数 */
    @Excel(name = "参与人数")
    private Integer person;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    public Long getUstate() {
        return Ustate;
    }

    public void setUstate(Long ustate) {
        Ustate = ustate;
    }

    @Override
    public String toString() {
        return "TmcCommunityActivity{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", imageurl='" + imageurl + '\'' +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", location='" + location + '\'' +
                ", personcount=" + personcount +
                ", fee=" + fee +
                ", contact='" + contact + '\'' +
                ", contactphone='" + contactphone + '\'' +
                ", deadlinetime=" + deadlinetime +
                ", homeshow=" + homeshow +
                ", showorder=" + showorder +
                ", state=" + state +
                ", person=" + person +
                ", createtime=" + createtime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Long getPersoncount() {
        return personcount;
    }

    public void setPersoncount(Long personcount) {
        this.personcount = personcount;
    }

    public Long getFee() {
        return fee;
    }

    public void setFee(Long fee) {
        this.fee = fee;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactphone() {
        return contactphone;
    }

    public void setContactphone(String contactphone) {
        this.contactphone = contactphone;
    }

    public Date getDeadlinetime() {
        return deadlinetime;
    }

    public void setDeadlinetime(Date deadlinetime) {
        this.deadlinetime = deadlinetime;
    }

    public Long getHomeshow() {
        return homeshow;
    }

    public void setHomeshow(Long homeshow) {
        this.homeshow = homeshow;
    }

    public Long getShoworder() {
        return showorder;
    }

    public void setShoworder(Long showorder) {
        this.showorder = showorder;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Integer getPerson() {
        return person;
    }

    public void setPerson(Integer person) {
        this.person = person;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}
